<ul class="layui-nav" lay-filter="">
    <a class="logo" style="left: 0;" href="{:url('admin/index/index')}">
        <span style="font-size: 22px;color: #c2c2c2;">后台管理</span>
    </a>

    <li class="layui-nav-item {$nav_active=='home'?'layui-this':''}" style="margin-left: 120px"><a
            href="{:cookie('back_url')?url(cookie('back_url')):url('index/index/index')}">首页</a></li>


    <li class="layui-nav-item"><a href="{:url('admin/index/index')}">后台</a></li>
    <li class="layui-nav-item"><a href="{:url('admin/other/auth')}">其他</a></li>
    <li class="layui-nav-item"><a href="{:url('admin/addon/addons')}">插件</a></li>
    <li class="layui-nav-item"><a href="{:url('admin/module/modules')}">模块</a></li>
    <li class="layui-nav-item" style="position: absolute;right: 10px;">
        <a href="javascript:;" class="admin-header-user">
            <img style="width: 40px;border-radius:100% " src="{:thumb(1)}"/>
            <span>{:get_my_info('username')}</span>
        </a>
        <dl class="layui-nav-child">
            <dd>
                <a href="{:url('index/resetPassword')}"><i class="fa fa-user-circle" aria-hidden="true"></i> 重置密码</a>
            </dd>
            <!--          <dd id="lock">
                          <a href="javascript:;">
                              <i class="fa fa-lock" aria-hidden="true" style="padding-right: 3px;padding-left: 1px;"></i> 锁屏 (Alt+L)
                          </a>
                      </dd>-->
            <dd>
                <a href="{:url('admin/user/logout')}"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
            </dd>
        </dl>
    </li>
</ul>

{php}

{/php}
{if condition="!empty($left_slide)"}


<ul class="layui-nav layui-nav-tree layui-nav-side" id="L_demoNav" lay-filter="test" style="margin-top: 60px;">

    {volist name="left_slide" id="v_left"}

    {if condition="empty($v_left['child'])"}

    <li class="layui-nav-item  {$v_left['slide_name']==$slide_active?'layui-this':''}">
    <a href="{:url($v_left['menu'],$v_left['query']?:[])}" menu="$v_left['menu']">{$v_left.title}</a>
    </li>
    {else/}

    <li class="layui-nav-item layui-nav-itemed">
        <a href="javascript:;">{$v_left.title}<span class="layui-nav-more"></span></a>
        <dl class="layui-nav-child">
            {volist name="v_left['child']" id="v_left_child"}

            <dd class="{$v_left_child['slide_name']==$slide_active?'layui-this':''} ">
            <a menu="$v_left_child['menu']" href="{:url($v_left_child['menu'],$v_left_child['query']?:[])}">{$v_left_child.title}</a>
            </dd>

            {/volist}

        </dl>
    </li>


    {/if}
    {/volist}

    <span class="layui-nav-bar" style="top: 22.5px; height: 0px; opacity: 0;"></span>
</ul>

{/if}